<table class="detail">
    <thead>
        <tr><th colspan="2">Fiche faisceau</th></tr>
    </thead>
    <tbody>
        <tr>
            <th>Numéro faisceau</th>
            <td><?php echo $rayon->getIdRayon() ?></td>
        </tr>
        <tr>
            <th>Elément</th>
            <td><?php if($rayon->getIdElement()) echo $rayon->getElement()->getNom() ?></td>
        </tr>
        <tr>
            <th>Isotope</th>
            <td><?php echo $rayon->getIsotope() ?></td>
        </tr>
        <tr>
            <th>Baylage faisceau</th>
            <td><?php if($rayon->getIdBalayage()) echo $rayon->getBalayage()->getLibelle() ?></td>
        </tr>
        <tr>
            <th>Charge</th>
            <td><?php echo $rayon->getCharge() ?></td>
        </tr>
        <tr>
            <th>Energie</th>
            <td><?php if($rayon->getEnergie())  printf('%e '.$rayon->getRawValue()->getEnergieUnit(),$rayon->getEnergie()); ?></td>
        </tr>
        <tr>
            <th>Fluence</th>
            <td><?php if($rayon->getFluence()) printf('%e '.$rayon->getRawValue()->getFluenceUnit(),$rayon->getFluence());   ?></td>
        </tr>
        <tr>
            <th>Courant moyen</th>
            <td><?php if($rayon->getCourantmoy()) printf('%e '.$rayon->getRawValue()->getCourantUnit(),$rayon->getCourantmoy()); ?></td>
        </tr>
        <tr>
            <th>Courant maximum</th>
            <td><?php if($rayon->getCourantmax()) printf('%e '.$rayon->getRawValue()->getCourantUnit(),$rayon->getCourantmax()); ?></td>
        </tr>
        <tr>
            <td colspan="2">
                <a href="<?php echo url_for('rayon/edit?id_rayon='.$rayon->getIdRayon()) ?>" class="submit">Editer ce faisceau</a>
                <a id="deleteFaisceau_<?php echo $rayon->getIdRayon() ?>" href="<?php echo url_for('rayon/delete?id_rayon='.$rayon->getIdRayon()) ?>" class="submit deleteFaisceau">Supprimer ce faisceau</a>
                <div id="dialogDeleteFaisceau_<?php echo $rayon->getIdRayon() ?>" title="Suppression faisceau" class="cacher dialogDeleteFaisceau">
                    <p>Voulez-vous supprimer le faisceau N°<?php echo $rayon->getIdRayon() ?> ?</p>
                </div>
            </td>
        </tr>
    </tbody>
</table>